import Vuex from 'vuex'

export default function (Vue,  options, context) {
  Vue.use(Vuex)
  // console.log(appOptions)

  context.appOptions.store = new Vuex.Store({
    state: {
      count: 10
    },
    mutations: {
      increment (state) {
        state.count++
      }
    }
  })
}